package com.site.wisdom_construction.service.iotModule;

import com.site.wisdom_construction.dao.iotModule.PersonnelPositioningDao;
import com.site.wisdom_construction.entity.iotModule.PersonnelPositioning;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/3/10
 * @Description
 */
@Service
public class PersonnelPositioningService implements PersonnelPositioningDao {
    @Autowired
    private PersonnelPositioningDao personnelPositioningDao;

    @Override
    public int insertPersonnelPositioning(Map map) {
        return personnelPositioningDao.insertPersonnelPositioning(map);
    }

    @Override
    public int deletePersonnelPositioning(Map map) {
        return personnelPositioningDao.deletePersonnelPositioning(map);
    }

    @Override
    public int updatePersonnelPositioning(Map map) {
        return personnelPositioningDao.updatePersonnelPositioning(map);
    }

    @Override
    public PersonnelPositioning findPersonnelPositioningByTagId(Map map) {
        return personnelPositioningDao.findPersonnelPositioningByTagId(map);
    }

    @Override
    public int countALL(Map map) {
        return personnelPositioningDao.countALL(map);
    }

    @Override
    public List<PersonnelPositioning> findPersonnelPositioningByEquipmentId(Map map) {
        return personnelPositioningDao.findPersonnelPositioningByEquipmentId(map);
    }

    @Override
    public int deletePersonnelPositioningByUpdateTime(Map map) {
        return personnelPositioningDao.deletePersonnelPositioningByUpdateTime(map);
    }
}
